﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Windows.Forms;

namespace KpiConfigProject.Manager
{
    public class AbstractManager : IManager
    {

        public System.Data.DataTable GetList(string sql)
        {
            DataTable table = null;
            try
            {
                table = DataBase.DataBaseManager.ExecuteSql(sql);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
            return table;
        }

        public virtual string GetSQL()
        {
            return "";
        }

        public DataTable GetList()
        {
            return null;
        }
    }
}
